#ifndef ENTITYMANAGER_H
#define ENTITYMANAGER_H

#include "entity.h"
#include <map>

namespace base
{
    class EntityManager
    {
        std::map<int, Entity> store;
		std::list<Entity*> enabledEntities;

    public:
        EntityManager();
        virtual ~EntityManager();

        Entity* getEntity(int id);
		int addEntity(Entity* pentity);

		int updateAll();
    protected:
		std::list<Entity*> getEnabledEntities();

    private:
    };
};
#endif // ENTITYMANAGER_H
